package org.base.sys.service;

    import org.base.sys.pojo.SysUserRole;
import org.base.common.service.IService;
import org.base.sys.query.SysUserRoleQuery;

    import java.util.List;

/**
 * <p>
 * 用户和角色关联 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2020-05-27
 */
public interface SysUserRoleService extends IService<SysUserRole, SysUserRoleQuery> {

    void updateUserRole(Long userId, List<Long> roles);

    List<Long> getUserRoleIds(Long userId);

}
